#!/bin/bash

cd /opt/modules/thingsx/
source package.sh
cd tb/source/
git pull
mvn clean install -DskipTests -P packaging
scp -P 22812 /opt/modules/thingsx/tb/source/application/target/tb.rpm root@192.168.18.107:/opt/modules/tb/tb$(date "+%Y-%m-%d").rpm
# 会提示输入107服务器的密码 mfox_3edc$RFV
